<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box {
            margin: 10px auto;
            width: 500px;
            height: 66px;
            text-align: center;
            line-height: 66px;
            font:bold 56px "微软雅黑";
            text-shadow: -1px -1px 0px #eee, -2px -2px 0px #ddd, -3px -3px 0px #ccc;
            color: #fff;
            background-color: #666;
            
        }
        .content {
            width: 500px;
            height: 500px;
            border: 1px solid #333;
            margin: 10px auto;
            text-align: center;
        }
        .content :nth-child(1){
            position: relative;
            width: 250px;
            height: 125px;
            margin: 10px auto;
            background-color: darkgreen;
            border-radius: 125px 125px 0 0;
        }
        /* 加入伪元素 */
        .content :nth-child(1)::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            background-color: #fff;
            left: 70px;
            bottom: 40px;
            }
        .content :nth-child(1)::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 20px;
            background-color: #fff;
            right: 70px;
            bottom: 40px;
        }

        .content :nth-child(2) {
            position: relative;
            width: 250px;
            height: 250px;
            border-radius: 0px 0px 20px 20px;
            margin: 10px auto;
            background-color: darkgreen;

        }
        .content :nth-child(2)::before {
            content: '';
            position: absolute;
            width: 30px;
            height: 180px;
            left: -40px;
            top: 30px;
            background-color: darkgreen;
            border-radius: 10px;
        }
        .content :nth-child(2)::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 180px;
            right: -40px;
            top: 30px;
            background-color: darkgreen;
            border-radius: 10px;
        }
        .content :nth-child(3) {
            position: relative;
            width: 250px;
            height: 100px;
            margin: 10px auto;
        }
        .content :nth-child(3)::before {
            content: '';
            position: absolute;
            width: 30px;
            height: 90px;
            left: 60px;
            top: -10px;
            background-color: darkgreen;
            border-radius: 0px 0px 10px 10px;

        }
        .content :nth-child(3)::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 90px;
            right: 60px;
            top: -10px;
            background-color: darkgreen;
            border-radius: 0px 0px 10px 10px;
        }
    </style>
</head>
<body>
    <div class="box">我是安卓机器人</div>
    <div class="content">
        <div class="header"></div>
        <div class="body"></div>
        <div class="footer"></div>
    </div>
</body>
</html>